% -----------------------------------------------------------------------------
% MIT License
%
% Copyright (c) 2020-2025 Ivo Steinbrecher
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in
% all copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.
% -----------------------------------------------------------------------------

\documentclass[multi,border=0mm]{standalone}

\newenvironment{lta}{\ignorespaces}{\ignorespacesafterend}
\standaloneenv{lta}

\usepackage{sourcesanspro}
\usepackage{tikz}

\usepackage{xcolor}
\definecolor{back}{cmyk}{0,0.5,1,0.85}
\definecolor{yel}{cmyk}{0,0.5,1,0}

% Full LaTeX2AI text
\newcommand{\latextoai}{\LaTeX{}2\sffamily\bfseries{Ai}}

% Half sizes for the icon
\newcommand{\widthHalf}{23pt}
\newcommand{\heightHalf}{7pt}

% Half size for the square icons
\newcommand{\sizeHalf}{7pt}

\begin{document}

% LaTeX2AI logo
\begin{lta}
\begin{tikzpicture}
\node [anchor=base,inner sep=1pt](L) at (0pt,-3pt) {\textcolor{black}{\latextoai}};
\end{tikzpicture}%
\end{lta}

% LaTeX2AI icon
\begin{lta}
\begin{tikzpicture}
\draw [yel,fill=back,thick] (-\widthHalf,-\heightHalf) rectangle (\widthHalf,\heightHalf);
\node [anchor=base,inner sep=0pt](L) at (0pt,-3pt) {\textcolor{yel}{\latextoai}};
\end{tikzpicture}%
\end{lta}

% Large square icon
\begin{lta}
\begin{tikzpicture}
\draw [yel,fill=back,thick] (-\sizeHalf,-\sizeHalf) rectangle (\sizeHalf,\sizeHalf);
\node [anchor=base,inner sep=0pt](L) at (-3pt,-3pt) {\textcolor{yel}{$L$}};
\node [anchor=base,inner sep=0pt] (two) at (-0.5pt,0pt) {\tiny\textcolor{yel}{2}};
\node [anchor=base,inner sep=0pt] (A) at (3pt,-3pt) {\sffamily \bfseries \textcolor{yel}{A}};
\end{tikzpicture}%
\end{lta}

% Small square icon
\begin{lta}
\begin{tikzpicture}
\draw [yel,fill=back,thick] (-\sizeHalf,-\sizeHalf) rectangle (\sizeHalf,\sizeHalf);
\node [anchor=base,inner sep=0pt](L) at (-3.25pt,-3pt) {\textcolor{yel}{\bfseries \textit{L}}};
\node [anchor=base,inner sep=0pt] (A) at (3pt,-3pt) {\sffamily \bfseries \textcolor{yel}{A}};
\end{tikzpicture}%
\end{lta}

% Black white large square icon
\renewcommand{\sizeHalf}{6.5pt}
\begin{lta}
\begin{tikzpicture}
\draw [opacity=0] (-\sizeHalf,-\sizeHalf) rectangle (\sizeHalf,\sizeHalf);
\node [anchor=base,inner sep=0pt](L) at (-3.15pt,-3pt) {$L$};
\node [anchor=base,inner sep=0pt] (two) at (-0.1pt,0.5pt) {\tiny 2};
\node [anchor=base,inner sep=0pt] (A) at (3.15pt,-3pt) {\sffamily \bfseries A};
\end{tikzpicture}%
\end{lta}

\end{document}
